package seeders

import (
	"github.com/goravel/framework/facades"
	"goravel/app/models"
)

type HistorytrackSeeder struct {
}

// Signature The name and signature of the seeder.
func (s *HistorytrackSeeder) Signature() string {
	return "HistorytrackSeeder"
}

// Run executes the seeder logic.
func (s *HistorytrackSeeder) Run() error {
	var histroytracks []models.Historytrack
	return facades.Orm().Factory().Count(1).Create(&histroytracks)
}
